import request from '@/utils/request'

export function listRobotPro(query) {
  return request({
    url: '/nssc/updatepros/list',
    method: 'get',
    params: query
  })
}
export function delRobotPro(id) {
  return request({
    url: '/nssc/updatepros/' + id,
    method: 'delete'
  })
}
export function sendFileBin(data) {
  return request({
    url: '/nssc/updatepros/sendfilebin',
    method: 'post',
    data: data
  })
}
export function updateRobotPro(data) {
  return request({
    url: '/nssc/updatepros/updateprorobot',
    method: 'post',
    data: data
  })
}
